package santeclair.connexion.util.processor.identification;

import org.springframework.stereotype.Component;

import santeclair.connexion.bean.Identification;
import santeclair.connexion.bean.trame.aller.identification.DemandeIdentification;
import santeclair.lunar.framework.aspect.processor.pre.PreProcessor;
import santeclair.lunar.framework.aspect.processor.pre.PreProcessorInterface;

@PreProcessor
@Component
public class TrameIdentificationProcessor implements PreProcessorInterface<Identification> {

    public void preProcess(Identification param) {
        DemandeIdentification demandeIdentification = param.getDemandeIdentification();
        demandeIdentification.setIdentifiantSupplementaire(new Integer(0));
    }
}
